package cqie.personal.frame.bo;

public class AddModifyDepartmentBO {
    private Integer uid;
    private Integer id;
    private String departmentName;
    private Integer departmentLevel;
    private String departmentImg;
    private Integer departmentFather;
    private Boolean departmentAbandon;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        if (!departmentName.equals("")){
            if(!departmentName.replace(" ", "").equals("")) {
                this.departmentName = departmentName;
            }
        }
    }


    public Integer getDepartmentLevel() {
        return departmentLevel;
    }

    public void setDepartmentLevel(Integer departmentLevel) {
        this.departmentLevel = departmentLevel;
    }

    public String getDepartmentImg() {
        return departmentImg;
    }

    public void setDepartmentImg(String departmentImg) {
        this.departmentImg = departmentImg;
    }

    public Integer getDepartmentFather() {
        return departmentFather;
    }

    public void setDepartmentFather(Integer departmentFather) {
        this.departmentFather = departmentFather;
    }

    public Boolean getDepartmentAbandon() {
        return departmentAbandon;
    }

    public void setDepartmentAbandon(Boolean departmentAbandon) {
        this.departmentAbandon = departmentAbandon;
    }
}
